<div ng-controller="projectCtrl" class="clearfix script-content">
    <div class="wrapper-md">
        <div class="panel panel1 panel-default" ng-show="!showDetail">
            <div class="">
                <div class="search-box m-b-md">
                    <div class="legend">项目管理</div>
                    <div class="search-content">
                        <div class="form-group">
                            <label class="control-label">项目名称：</label>
                            <input type="text" ng-model="searchByProjectName" class="form-control input-sm" aria-controls="DataTables_Table_3">
                        </div>
                    </div>
                    <div class="search-btn">
                        <button class="btn btn-info w-xs m-r" ng-click="getData(1)"><i class="fa fa-search"></i> 查询</button>
                      <!--   <button class="btn btn-primary w-xs m-r" ng-click="add()"><i class="fa fa-plus-circle"></i> 新增</button> -->
                    </div>
                </div>

                <div class="">
                    <div class="dataTables_wrapper form-inline">
                        <div class="row">
                            <div class="col-sm-12" style="margin-top: -10px;">
                                <table class="table table-striped b-light m-b-xxs">
                                    <thead class="table-header">
                                    <tr>
                                        <th width="15%" class="font-15 text-center">项目编号</th>
                                        <th width="17%" class="font-15 text-center" style="display:none">环境编号</th>
                                        <th width="15%" class="font-15 text-center">项目名称</th>
                                        <th class="text-center td-operate font-15" width="25%">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr class="table-content" ng-repeat="row in projectList" ng-if="!isImageData">
                                        <td width="15%" class="font-15 detail-href text-center" style="max-width:162px;" title="{{row.projectId}}"  ng-bind="row.projectId"></td>
                                        <td width="15%" class="font-15 detail-href text-center text-overflow" style="display:none" style="max-width:162px;" title="{{row.envId}}"  ng-bind="row.envId"></td>
                                        <td width="17%" class="font-15 text-center" title="{{row.projectName}}" ng-bind="row.projectName">
                                        <td width="25%" class="td-operate text-center">
                                             <button class="btn btn-info btn-sm"  ng-click="designateManagerUser(row)">
                                                <i class="fa fa-comments"></i>
                                                <span class="">指定项目管理员</span>
                                            </button>
                                            <button class="btn btn-info btn-sm"  ng-click="designateOrdinaryUser(row)">
                                                <i class="fa fa-comments"></i>
                                                <span class="">指定项目用户</span>
                                            </button>
                                        </td>
                                    </tr>
                                    <tr ng-if="isImageData">
                                        <td class="td-nodata" colspan="6">暂无数据</td>
                                    </tr>
                                    </tbody>
                                </table>
                                <div class="clearfix">
                                    <div class="col-sm-6" style="padding: 7px 15px;">
                                        <div class="paginationTables_info">总共<span ng-bind="totalCount"></span>条, 每页<span ng-bind="param.rows"></span>条</div>
                                    </div>
                                    <div class="col-sm-6 text-right">
                                        <pagination style="" boundary-links="true" total-items="totalCount" items-per-page="param.rows" max-size="10" ng-model="param.page" ng-change="getData(param.page)" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></pagination>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>